package ${package}.service;

import ${package}.entity.${className};
import org.springframework.data.domain.Page;

import java.util.List;
<#import "CopyRight.ftl" as my>
<@my.CopyRight/>
public interface ${className}Service {

    public Page<${className}> page(Integer pageNo, Integer pageSize);

    List<${className}> findAll();

    void save(${className} model);

    ${className} findById(Integer id);

    void update(${className} model);

    void deleteByIds(Integer[] id);
}
